package com.yc.entities.custom;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author kukaha
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomOutInRecordResponseBean对象", description = "患者详情查询响应Bean")
public class CustomOutInRecordResponseBean implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "住院号")
    private String hospitalNum;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @ApiModelProperty(value = "入院时间")
    private Date toHospitalTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @ApiModelProperty(value = "出院时间")
    private Date outHospitalTime;
    @ApiModelProperty(value = "科室名称")
    private String departmentName;
    @ApiModelProperty(value = "责任医生")
    private String doctorName;
    @ApiModelProperty(value = "入院血糖")
    private Double sugarNum;
    @ApiModelProperty(value = "出院血糖")
    private String outSugarNum;

}
